import BaseApi from '@/api/baseApi';
import DepartmentType from '@/structure/departmentType';

/**
 * 部门类型
 */
class DepartmentTypeApi extends BaseApi<DepartmentType> {
  public getBase(): string {
    return 'user/user/departmentType';
  }

  public getIdFieldName(): string {
    return 'departmentTypeKey';
  }
}

export default new DepartmentTypeApi();

